﻿$().ready(function() {
    initDatepicker();
});

function initDatepicker() {
    $(function () {
        $(".datepicker").datepicker({
            changeMonth: true,
            changeYear: true,
            showButtonPanel: true,
            dateFormat: 'dd-mm-yy',
            showOn: 'button',
            buttonImage: baseContentUrl + 'images/icons/calendar.png',
            buttonImageOnly: true
        });
    });
}